/// id : 1
/// name : "发电单元"
/// description : null

class AccessDeviceModel {
  AccessDeviceModel({
      num? id, 
      String? name, 
      dynamic description,}){
    _id = id;
    _name = name;
    _description = description;
}

  AccessDeviceModel.fromJson(dynamic json) {
    _id = json['id'];
    _name = json['name'];
    _description = json['description'];
  }
  num? _id;
  String? _name;
  dynamic _description;
AccessDeviceModel copyWith({  num? id,
  String? name,
  dynamic description,
}) => AccessDeviceModel(  id: id ?? _id,
  name: name ?? _name,
  description: description ?? _description,
);
  num? get id => _id;
  String? get name => _name;
  dynamic get description => _description;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['name'] = _name;
    map['description'] = _description;
    return map;
  }

}